<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CSS注册页面</title>
    <style>
        * {
            margin: 0px;
            padding: 0px;
            box-sizing: border-box;
        }

        body {
            background: url("img/register_bg.png") center no-repeat;
        }

        .rg {
            width: 900px;
            height: 500px;
            border: 5px solid #EEEEEE;
            background-color: white;
            margin: auto;
            margin-top: 15px;
        }

        .rg_left {

            float: left;
            margin: 20px;
        }

        .rg_middle {

            float: left;
            width: 450px;
        }

        .rg_right {

            float: right;
            margin: 20px;
        }

        .rg_left > p:first-child {
            color: yellow;
            font-size: 20px;
        }

        .rg_left > p:last-child {
            color: gray;
            font-size: 20px;
        }

        .rg_right > p:first-child {
            font-size: 15px;
        }


        .rg_right p a {
            color: pink;
        }
        .td_left{
            width: 100px;
            text-align: right;
            height: 45px;
        }
        .td_right{
            padding-left: 50px;
        }
        #username,#password,#birthday,#Email,#checkcode,#name,#telphone{
            width: 250px;
            height: 32px ;
            border: 1px solid gray;
            border-radius: 5px;
            padding-left: 10px;
        }
        #checkcode{
            width: 110px;

        }
        #img_check{
            width:100px ;
            vertical-align: middle;
        }
        #register{
             width: 150px;
            height: 30px;
            background-color: yellow;
             border: 1px solid yellow;
        }
    </style>
</head>
<body>

<div class="rg">
    <div class="rg_left">
        <p>新用户注册</p>
        <p> USER REGISTER</p>
    </div>

    <div class="rg_middle">
        <form action="#" method="post">
            <table>
                <tr>
                    <td class="td_left">
                        <lab for="username">用户名</lab>
                    </td>
                    <td class="td_right"><input type="text" name="username" id="username" placeholder="请输入用户名"></td>
                </tr>
                <tr>
                    <td class="td_left">
                        <lab for="passwor">密码</lab>
                    </td>
                    <td class="td_right"><input type="password" name="password" id="password" placeholder="请输入密码"></td>
                </tr>
                <tr>
                    <td class="td_left">
                        <lab for="Email">Email</lab>
                    </td>
                    <td class="td_right"><input type="Email" name="Email" id="Email" placeholder="请输入邮箱地址"></td>
                </tr>
                <tr>
                    <td class="td_left">
                        <lab for="name">姓名</lab>
                    </td>
                    <td class="td_right"><input type="text" name="username" id="name" placeholder="请输入姓名"></td>
                </tr>
                <tr>
                    <td class="td_left">
                        <lab for="telphone">手机号</lab>
                    </td>
                    <td class="td_right"><input type="text" name="telphone" id="telphone" placeholder="请输入手机号"></td>
                </tr>
                <tr>
                    <td class="td_left">性别
                    </td>
                    <td class="td_right"><input type="radio" name="gender" id="gender" value="male" placeholder="请输入性别">男
                        <input type="radio" name="gender" id="gender" value=female placeholder="请输入性别">女
                    </td>
                </tr>
                <tr>
                    <td class="td_left">
                        <lab for="birthday">出生日期</lab>
                    </td>
                    <td class="td_right"><input type="date" name="birthday" id="birthday" placeholder="请输入出生日期">
                    </td>
                </tr>
                <tr>
                    <td class="td_left">
                        <lab for="checkcode">验证码</lab>
                    </td>
                    <td class="td_right"><input type="text" name="checkcode" id="checkcode" placeholder="请输入验证码">
                        <img src="img/verify_code.jpg" id="img_check"/>
                    </td>

                </tr>
                <tr>
                    <td colspan="2" align="center"><input type="submit" value="注册" id="register"></td>

                </tr>


            </table>

        </form>
    </div>
    <div class="rg_right">
        <p>已有账号？<a href="#">立即登录</a></p>
    </div>

</div>

</body>
</html>